
MUSL_CROSS=../../../../mettle/build/tools/musl-cross/bin/

all:
	$(MUSL_CROSS)x86_64-linux-musl-gcc -static CVE-2022-0847.c -o CVE-2022-0847-x64
	$(MUSL_CROSS)i486-linux-musl-gcc -static CVE-2022-0847.c -o CVE-2022-0847-x86
	$(MUSL_CROSS)aarch64-linux-musl-gcc -static CVE-2022-0847.c -o CVE-2022-0847-aarch64
	$(MUSL_CROSS)armv5l-linux-musleabi-gcc -static CVE-2022-0847.c -o CVE-2022-0847-armle

